Logical/Relational

Logical primitives perform standard boolean operations on boolean inputs. Relational primitives compare numbers and strings only. 

_________________________________________________
                                       <
 *295*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is less than Item2.

See also:  >, =, ≠, ≤, ≥

_________________________________________________
                                       <=
 *295*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is less than or equal to Item2.

Alias: ≤

See also:  <, >, =, ≠, ~=,, ≥

_________________________________________________
                                      =
 *295*

Input names: Item1;  Item2

Input types: <any>;  <any>

Output names: [Result]

Output types: [boolean]

Description: 
If Item1 and Item2 are instances of classes, Result is TRUE if Item1 and Item2 are located at the same address. If Item1 and Item2 are of type macintosh, Result is TRUE if value fields of Item1 and Item2 are equal. Otherwise, Result is TRUE if Item1 and Item2 are equal, or in the case of lists, all corresponding components of Item1 and Item2 are equal.

See also:  <, >, ≠, ≤, ≥

_________________________________________________
                                   >
 *296*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is greater than Item2.

See also:  <, =, ≠, ≤, ≥

_________________________________________________
                               >=
 *296*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is greater than or equal to Item2.

Alias: ≥

See also:  <, >, =, ≠, ≤

_________________________________________________
                                           and
 *297*

Input names: Boolean1;  Boolean2;  [Boolean3;  ...]

Input types: boolean;  boolean;  [boolean;  ...]

Output names: [Result]

Output types: [boolean]

Description: 
Result is the logical AND of Boolean1, Boolean2,…

See also:  or, xor, not

_________________________________________________
                       not
 *297*

Input names: aBoolean

Input types: boolean

Output names: Result

Output types: boolean

Description: 
Result is the logical negation of aBoolean.

See also:  and, or, xor

_________________________________________________
                                     or
 *297*

Input names: Boolean1;  Boolean2;  [Boolean3;  ...]

Input types: boolean;  boolean;  [boolean;  ...]

Output names: [Result]

Output types: [boolean]

Description: 
Result is the logical OR of Boolean1, Boolean2,…. 

See also:  and, xor, not

_________________________________________________
 
                              xor
 *298*

Input names: Boolean1;  Boolean2

Input types: boolean;  boolean

Output names: [Result]

Output types: [boolean]

Description: 
Result is the XOR (exclusive OR) of Boolean1 and Boolean2.

See also:  and, or, not

_________________________________________________
                             ~=
 *298*

Input names: Item1;  Item2

Input types: <any>;  <any>

Output names: [Result]

Output types: [boolean]

Description: 
Result is the logical negation of the value that would be computed by the primitive = from inputs Item1 and Item2.

Alias: ≠

See also:  <, >, =, ≤, ≥

_________________________________________________
                                ≠
 *298*

Input names: Item1;  Item2

Input types: <any>;  <any>

Output names: [Result]

Output types: [boolean]

Description: 
Result is the logical negation of the value that would be computed by the primitive = from inputs Item1 and Item2.

Alias: ~=

See also:  <, >, =, ≤, ≥

_________________________________________________
                                  ≤
 *299*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is less than or equal to Item2.

See also:  <, >, =, ≠, ≥

_________________________________________________
                                 ≥
 *299*

Input names: Item1;  Item2

Input types: (string ; string) | (<number> ; <number>)

Output names: [Result]

Output types: [boolean]

Description: 
Result is TRUE if Item1 is greater than or equal to Item2.

See also:   <, >, =, ≠, ≤